body {
    text-align: center;
    font-family: 'Josefin Sans', Helvetica, Arial, sans-serif;
    color: #3f4850;
}

h2 {
    font-size: 2em;
    margin: 52px 0 40px;
    text-transform: capitalize;
    color: #051c33;
}

h1 {
    font-family: 'Lobster', 'Josefin Sans', Helvetica, Arial, sans-serif;
    font-size: 4em;
    color: #051c33;
}

ul {
    list-style-type: none;
    padding-left: 0;
}

a {
    text-decoration: none;
}

.search-form {
    max-width: 460px;
    display: flex;
    justify-content: center;
    /* align-items: center; */
    margin: 0 auto 32px;
}

.search-form button {
  outline: none;
  border: none;
  padding: 0px 15px;
  border-radius: 0 0.35em 0.35em 0;
  cursor: pointer;
}

.active {
  background-color: #051c33;
  cursor: pointer;
}

input {
  font-size: 1em;
  width: 100%;
  background-color: #edeff0;
  padding: 10px 15px;
  border: 3px solid #d7dbdf;
  border-right: none;
  border-radius: 0.35em 0 0 0.35em;
  outline: none;
}

.main-nav li {
  width: 100%;
  margin-bottom: 1em;
}

.main-nav a {
  display: block;
  background: #051c33;
  border-radius: 3px;
  padding: 5px;
  color: #fff;
}

.main-nav .active,
.main-nav a:hover {
  background-color: #051c33;
}

@media only screen and (min-width: 768px) {
  body {
    padding-top: 4em;
  }

  .container {
    max-width: 960px;
    margin: auto;
  }

  .main-nav ul {
    display: flex;
    justify-content: center;
  }

  .main-nav li {
    margin: 10px;
    width: 100px;
  }
}